package com.hunan.yllxy.repostitory.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hunan.yllxy.repostitory.entity.UserDakaInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hunan.yllxy.vo.PageQuery;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 刘华
 * @since 2025-06-20
 */
public interface UserDakaInfoDao extends IService<UserDakaInfo> {

    UserDakaInfo findByContentId(String userId, String dakaContentId);

    List<UserDakaInfo> findByContentIdList(String userId, String dakaContentId);


    List<UserDakaInfo> findByActivityIdAndDate(String userId, String activityId, Date date);

    Page<UserDakaInfo> queryUserRecord(PageQuery pageQuery, String userId, String activityId, String dakaContentId, String dakaOptionId);
    List<UserDakaInfo> queryUserRecordList(String userId, String activityId, String dakaContentId, String dakaOptionId);
}
